From: Aaron Schulz Date: Mon, 13 Jul 2015 21:45:11 +0000 (-0700) Subject: Set $wgMainWANCache to none for PHPUnit, as is done for $wgMainCacheType X-Git-Tag: 1.31.0-rc.0~10781^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=d18722f7bce394d59fbbcd2861894c9cb81df8eb;p=lhc%2Fweb%2Fwiklou.git Set $wgMainWANCache to none for PHPUnit, as is done for $wgMainCacheType Change-Id: I0518876d7df7027c934d1199543a3185732df663 --- diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index efde4c0103..587d6d0c2c 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -55,7 +55,7 @@ class PHPUnitMaintClass extends Maintenance { public function finalSetup() { parent::finalSetup(); - global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType; + global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType, $wgMainWANCache; global $wgLanguageConverterCacheType, $wgUseDatabaseMessages; global $wgLocaltimezone, $wgLocalisationCacheConf; global $wgDevelopmentWarnings; @@ -67,6 +67,7 @@ class PHPUnitMaintClass extends Maintenance { $wgDevelopmentWarnings = true; $wgMainCacheType = CACHE_NONE; + $wgMainWANCache = CACHE_NONE; $wgMessageCacheType = CACHE_NONE; $wgParserCacheType = CACHE_NONE; $wgLanguageConverterCacheType = CACHE_NONE;